//
//  ViewController.m
//  LLActivityIndicatorView
//
//  Created by LL on 2022/2/8.
//

#import "ViewController.h"

#import "LLActivityIndicatorView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationItem.title = @"One View";
    self.view.backgroundColor = UIColor.whiteColor;
    
    LLActivityIndicatorView *activityIndicatorView = [LLActivityIndicatorView activityIndicatorWithStyle:LLActivityIndicatorViewStyleGrayMedium];
    activityIndicatorView.backgroundColor = UIColor.redColor;
    activityIndicatorView.frame = CGRectMake(0, 0, 50, 50);
    activityIndicatorView.center = self.view.center;
    [self.view addSubview:activityIndicatorView];
    [activityIndicatorView startAnimating];
}


@end
